package cn.deepxi.org.domain;

import cn.deepxi.base.domain.Basedomain;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class Department extends Basedomain {

    /*部门编号*/
    private String sn;
    /*部门名称*/
    private String name;
    /*暂时不用*/
    private String dirPath;
    /*部门状态 0 正常 ，-1 停用*/
    private int state;
    /*部门经理 和员工关联*/
    private Integer manager_id;
    private Employee employee;
    //上级部门
    private Integer parent_id;
    private Department department;
    private List<Department> children = new ArrayList<>();

}
